people = eval(input("请输入共有几人进行核酸检测:"))
ming = [p for p in range(1, people+1, 2)]
hong = [p + 1 for p in range(1, people, 2)]
index = 2
try:
    while hong is not None:
        ming.insert(index, hong.pop(0))
        index += 3
except:
    pass
print(ming)